import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import CountHook from './hooks/CountHook'
import CityHook from './hooks/CityHook'

export default new Vuex.Store({
  /**单一职责原理 */
  modules: {
    CountHook,
    CityHook
  },
})
